package cn.xhy.module.purchase.controller.admin.materialdemand.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 单据 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MaterialDemandRespVO {

    /**
     * 单据id标识
     */
    private Long id;

    @Schema(description = "单据编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("单据编号")
    private String documentNumber;

    @Schema(description = "商品信息", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("商品信息")
    private String goodsInfo;

    @Schema(description = "单据日期")
    @ExcelProperty("单据日期")
    private LocalDateTime documentDate;

    @Schema(description = "类型（1-项目，3办公室，2零星，4销售，5采购）", example = "2")
    @ExcelProperty("类型（1-项目，3办公室，2零星，4销售，5采购）")
    private String type;

    @Schema(description = "归属项目id")
    @ExcelProperty("归属项目id")
    private String belongingProject;

    @Schema(description = "审核状态（详情查看字典表）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("审核状态（详情查看字典表）")
    private String auditStatus;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "工作流编号id")
    @ExcelProperty("工作流编号id")
    private String processInstanceId;

}
